package com.slwu.singleton;

/**
 * IoDH 单例模式
 * 静态内部类
 * @author wushaolin
 * @since 2023-11-22
 */
public class IoDHSingleton {
    private IoDHSingleton() {
    }
    private static class SingletonHolder {
        private static final IoDHSingleton INSTANCE = new IoDHSingleton();
    }
    public static IoDHSingleton getInstance() {
        return SingletonHolder.INSTANCE;
    }

}
